﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Drawing;

namespace Smled.States
{
    public abstract class BaseState
    {
        protected MapView mv = null;

        public BaseState(MapView view)
        {
            mv = view;
        }

        public virtual void MapView_MouseDown(object sender, MouseEventArgs e) { }
        public virtual void MapView_MouseMove(object sender, MouseEventArgs e) { }
        public virtual void MapView_MouseUp(object sender, MouseEventArgs e) { }
        public virtual void MapView_MouseWheel(object sender, MouseEventArgs e) { }

        public virtual void Paint(Graphics g) { }

        public virtual void Activate() { }
        public virtual void Deactivate() { }
        public virtual void Reset() { }

        public virtual ToolStrip ToolBar { get { return null; } }
    }
}
